#include <stdio.h>
int main()
{
   char c;
   int b;
   int a = 0;
   printf("请输入一个整数:");
   scanf("%d",&a);
   
   while (a!=0)
    {
        b = a % 10;
        a = a / 10;
        c = b +'0';
        printf("这一位数对应的ASCII码值位%d(从个位开始)\n",c);
    }

   return 0;
}